package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 车辆违章对象 tb_vehicle_illegal
 *
 * @author lxy
 * @date 2024-04-28
 */
public class TbVehicleIllegal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 车辆预约ID
     */
    @Excel(name = "车辆预约ID")
    private Long visitorVehicleId;

    /**
     * 车牌牌照
     */
    @Excel(name = "车牌牌照")
    private String licenseNo;

    /**
     * 车主姓名
     */
    @Excel(name = "车主姓名")
    private String carOwner;

    /**
     * 车辆超速牌照
     */
    @Excel(name = "车辆超速牌照")
    private String overspeedImg;

    /**
     * 车辆超速牌照链接
     */
    @Excel(name = "车辆超速牌照链接")
    private String overspeedImgUrl;

    /**
     * 车辆行驶速度
     */
    @Excel(name = "车辆行驶速度")
    private String speed;

    /**
     * 车辆超速日期
     */
    @Excel(name = "车辆超速日期")
    private String overspeedDate;

    /**
     * 受访员工编号
     */
    @Excel(name = "受访员工编号")
    private String interviewedNo;

    /**
     * 受访员工姓名
     */
    @Excel(name = "受访员工姓名")
    private String interviewedName;

    /**
     * 流程ID
     */
    @Excel(name = "流程ID")
    private String requestId;

    /**
     * 审批状态（1审批中 2审核通过 3审核未通过）
     */
    @Excel(name = "审批状态", readConverterExp = "1=审批中,2=审核通过,3=审核未通过")
    private String status;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /**
     * 审核信息
     */
    @Excel(name = "审核信息")
    private String reviewInfo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setVisitorVehicleId(Long visitorVehicleId) {
        this.visitorVehicleId = visitorVehicleId;
    }

    public Long getVisitorVehicleId() {
        return visitorVehicleId;
    }

    public void setLicenseNo(String licenseNo) {
        this.licenseNo = licenseNo;
    }

    public String getLicenseNo() {
        return licenseNo;
    }

    public void setCarOwner(String carOwner) {
        this.carOwner = carOwner;
    }

    public String getCarOwner() {
        return carOwner;
    }

    public void setOverspeedImg(String overspeedImg) {
        this.overspeedImg = overspeedImg;
    }

    public String getOverspeedImg() {
        return overspeedImg;
    }

    public String getOverspeedImgUrl() {
        return overspeedImgUrl;
    }

    public void setOverspeedImgUrl(String overspeedImgUrl) {
        this.overspeedImgUrl = overspeedImgUrl;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getSpeed() {
        return speed;
    }

    public void setOverspeedDate(String overspeedDate) {
        this.overspeedDate = overspeedDate;
    }

    public String getOverspeedDate() {
        return overspeedDate;
    }

    public void setInterviewedNo(String interviewedNo) {
        this.interviewedNo = interviewedNo;
    }

    public String getInterviewedNo() {
        return interviewedNo;
    }

    public void setInterviewedName(String interviewedName) {
        this.interviewedName = interviewedName;
    }

    public String getInterviewedName() {
        return interviewedName;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setReviewInfo(String reviewInfo) {
        this.reviewInfo = reviewInfo;
    }

    public String getReviewInfo() {
        return reviewInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("visitorVehicleId", getVisitorVehicleId())
                .append("licenseNo", getLicenseNo())
                .append("carOwner", getCarOwner())
                .append("overspeedImg", getOverspeedImg())
                .append("speed", getSpeed())
                .append("overspeedDate", getOverspeedDate())
                .append("interviewedNo", getInterviewedNo())
                .append("interviewedName", getInterviewedName())
                .append("requestId", getRequestId())
                .append("status", getStatus())
                .append("reviewInfo", getReviewInfo())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
